//
//  WHBaseViewController.m
//  WHPersonalData
//
//  Created by shengmeng chen on 2022/6/24.
//  Copyright © 2022 mac. All rights reserved.

#import "WHBaseViewController.h"
//#import "SVProgressHUD.h"

@interface WHBaseViewController ()

@end

@implementation WHBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self baseSetting];
    /*
     当translucent = YES，controller中self.view的原点是从导航栏左上角开始计算
     当translucent = NO，controller中self.view的原点是从导航栏左下角开始计算
     */
    self.navigationController.navigationBar.translucent = YES;
    [self loadDatas];
}

- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    
//    if ([SVProgressHUD isVisible]) {
//        [SVProgressHUD dismiss];
//    }
}

- (void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:animated];
//    if ([SVProgressHUD isVisible]) {
//        [SVProgressHUD dismiss];
//    }
}

#pragma mark - baseSetting
- (void)baseSetting{
    self.view.backgroundColor = [UIColor whiteColor];
}

#pragma mark - loadDatas
- (void)loadDatas{
  
}
@end
